<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Map,java.util.List"%>
<%@page import="system.config.HHConfig"%>
<jsp:include page="./common/header.jsp" flush="true" />
</head>
<body id="page2" onload="new ElementMaxHeight();">
	<jsp:include page="./common/logo-navmenu.jsp" flush="true" />
	<!-- content -->
	<div id="content">
		<div class="container">
			<!-- main-banner-small begin -->
			<div class="main-banner-small">
				<div class="inner">
					<h1>你们的支持是对我们最大的鼓励</h1>
				</div>
			</div>
			<!-- main-banner-small end -->
			<div class="section">
				<!-- box begin -->
				<div class="box">
					<div class="border-top">
						<div class="border-right">
							<div class="border-bot">
								<div class="border-left">
									<div class="left-top-corner">
										<div class="right-top-corner">
											<div class="right-bot-corner">
												<div class="left-bot-corner">
													<div class="inner">
														<h2>留言列表</h2>
														<dl class="list4">
															<%
																List<Map> list = (List<Map>) request.getAttribute("messageList");
																for (int i = 0; null != list && i < list.size(); i++) {
																	Map map = list.get(i);
															%>
															<dd><%=map.get("context")%></dd>
															<dt><%=map.get("edit_time")%></dt>
															<%
																}
															%>
														</dl>
														<div class="blue-black">
															<%=
																request.getAttribute("pageHtml")
															%>
														</div>
													</div>
													<div class="inner">
														<form id="contacts-form"
															action="<%=HHConfig.SITE_URL%>/index.jsp/message/leave_message"
															method="POST">
															<fieldset>
																<div class="field">
																	<label>您的称呼:</label><input type="text" value=""
																		name="visitor_name" id="visitor_name_id" />
																</div>
																<div class="field">
																	<label>您的邮箱:</label><input type="text" value=""
																		name="email" id="email_id" />
																</div>
																<div class="field">
																	<label>留言主题:</label><input type="text" value=""
																		name="message_name" id="message_name_id" />
																</div>
																<div class="field">
																	<input type="hidden" name="parent_id" value="-1">
																	<label>说点什么:</label>
																	<textarea cols="" rows="" name="context"
																		id="context_id"></textarea>
																</div>
																<div class="alignright">
																	<a href="javascript:(void);" class="button"
																		 onclick="document.getElementById('contacts-form').submit()"><em><b>发送留言</b></em></a>
																</div>
															</fieldset>
														</form>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- box end -->
			</div>
		</div>
	</div>
	<!-- footer -->
	<jsp:include page="./common/footer.jsp" flush="true" />
</body>
</html>